import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

abstract class LState<T extends StatefulWidget> extends State<T> {
   get init;

  get body;

  get finish;

  @override
  void initState() {
    super.initState();
    init;
  }

  @override
  Widget build(BuildContext context) => body;

  @override
  void dispose() {
    super.dispose();
    finish;
  }
}
